import {httpGet} from "../../../api/fetch";

export const getUserTotal =() => {
    return httpGet('/panel/getTotalUser').catch(console.log)
}

export const getCategoryFreq =() => {
    return httpGet('/panel/getCategoryBase').catch(console.log)
}

export const checkUser =(userId) => {
    return httpGet('/panel/checkUserId',{userId}).catch(console.log)
}

export const getUserBaseInfo =(userId) => {
    return httpGet('/panel/getUserBase',{userId}).catch(console.log)
}

export const getClosePostionList =(data) => {
    return httpGet('/panel/getClosePostionList',data).catch(console.log)
}

export const getPostionFreq =(data) => {
    return httpGet('/panel/getPostionFreq',data).catch(console.log)
}

export const getCurrentTrace =(data) => {
    return httpGet('/panel/getCurrentTrace',data).catch(console.log)
}


export const getAllHeatMap =() => {
    return httpGet('/panel/getHeatMap').catch(console.log)
}

export const getAllTrace =() => {
    return httpGet('/panel/getAllTrace').catch(console.log)
}


